home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-03-04 | 461 b | 15 lines | [TEXT/ToyS] |
- on run
- tell application "Finder"
- set woze to the open windows
- set pops to the name of every window whose popup is true
- activate
- end tell
-
- repeat with w in woze
- if (not (the same data is in w as in "Desktop")) then -- Don't mess with the Desktop…
- if the number of items in (collect items of pops that match w) is 0 then -- And not a pop-up
- tell application "Finder" to reposition window w with activation
- end if
- end if
- end repeat
- end run